package org.example.dao;

import org.example.entity.ApiKey;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface ApiKeyRepository extends MongoRepository<ApiKey, String> {
	ApiKey findByUserId(Integer userId);


	ApiKey findByKey(String key);
}
